<?php
error_reporting(E_ALL);
ini_set('display_errors',1);
defined('_JEXEC') or die('Access Deny');
require_once(dirname(__FILE__).'/helper.php');

$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'));
$document = JFactory::getDocument();



$listofimages = modWMCGalleryModuleHelper::getImages($params);
$listofimagesstyle = modWMCGalleryModuleHelper::getImagesStyle($params);
//$document->addScript(JURI::root(true) . '/modules/WMCGalleryModule/assets/js/jquery-1.11.1.min.js');
// $document->addScript(JURI::root(true) . '/modules/WMCGalleryModule/assets/js/jquery-1.9.1.min.js');
$document->addScript(JURI::root(true) . '/modules/WMCGalleryModule/assets/js/bootstrap.min.js');
$document->addScript(JURI::base(true) . '/modules/WMCGalleryModule/assets/js/jssor.utils.js');
$document->addScript(JURI::root(true) . '/modules/WMCGalleryModule/assets/js/jssor.core.js');
$document->addScript(JURI::root(true) . '/modules/WMCGalleryModule/assets/js/jssor.slider.js');
$document->addScript(JURI::root(true) . '/modules/WMCGalleryModule/assets/js/jquery.colorbox.js');
//$document->addScript(JURI::root(true) . '/modules/WMCGalleryModule/assets/js/camera.min.js');
//$document->addScript(JURI::root(true) . '/modules/WMCGalleryModule/assets/js/jquery.easing.1.3.js');
//$document->addScript(JURI::root(true) . '/modules/WMCGalleryModule/assets/js/jquery.mobile.customized.min.js');
$document->addStyleSheet(JURI::root(true) . '/modules/WMCGalleryModule/assets/css/default.css');
$document->addStyleSheet(JURI::root(true) . '/modules/WMCGalleryModule/assets/css/colorbox.css');
//$document->addStyleSheet(JURI::root(true) . '/modules/WMCGalleryModule/assets/css/lightbox.css');
//$document->addStyleSheet(JURI::root(true) . '/modules/WMCGalleryModule/assets/css/screen.css');
//print_r($listofimagesstyle);exit();
// $i=1;
// while($i<=10)
// {
	// print_r($params->get('video'.$i.'url'));
	// $i=$i+1;
// }
// exit();$i=1;
// while($i<=10)
// {
	// print_r($params->get('video'.$i.'url'));
	// $i=$i+1;
// }
// exit();
$controlNavStyle =$params->get('controlNav');
$imgwidth =$params->get('imagewidth');
//print_r($imgwidth);exit();
$imgheight =$params->get('imageheight');
$paddingside =$params->get('paddingside');
$autoslide =$params->get('autoslide');
$intervalslide =$params->get('intervalslide');
$thumbnailnav =$params->get('thumbnailnavigator');
$bulletnav =$params->get('bulletnavigator');

require(JModuleHelper::getLayoutPath('WMCGalleryModule'));
